import SvgIcon from './svg-icon/index.vue'
const allGlobalComponent: object = { SvgIcon }
// 对外暴露插件
export default {
  install(app: any) {
    Object.keys(allGlobalComponent).forEach((key) => {
      app.component(key, allGlobalComponent[key as keyof object])
    })
  },
}
